const { defineConfig } = require("@vue/cli-service");
const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");

module.exports = defineConfig({
  transpileDependencies: true,
  chainWebpack(config) {
    config.plugin("monaco").use(new MonacoWebpackPlugin());
  }
});
const path = require('path');

module.exports = {
  configureWebpack: {
    resolve: {
      alias: {
        'vs': path.join(__dirname, 'node_modules/monaco-editor/esm/vs')
      }
    }
  }
};